package com.cdwh.joylife.ui.fragment;

import android.view.View;

import com.cdwh.joylife.R;
import com.cdwh.joylife.ui.base.BaseFragment;
import com.cdwh.joylife.utils.UiUtils;
import com.cdwh.joylife.widget.TitleBar;

import butterknife.BindView;
import qiu.niorgai.StatusBarCompat;

/**
 * Created by huxing on 2018/2/8.
 */

public class StoreFragment extends BaseFragment {
    @BindView(R.id.titleBar)
    TitleBar titleBar;

    @Override
    public void onReceive(Object data) {

    }

    @Override
    public void onReceive(Object data, int type) {

    }

    @Override
    protected int getLayoutResId() {
        return R.layout.fragment_store;
    }

    @Override
    protected void initView(View layoutView) {
        titleBar.setPageBackIconGone(true);
    }

    @Override
    protected void loadData(int page) {

    }
    @Override
    public void onHiddenChanged(boolean hidden) {
        super.onHiddenChanged(hidden);
        if (!hidden) {
            StatusBarCompat.setStatusBarColor(getActivity(), UiUtils.getColor(R.color.colorPrimary));
        }
    }
}
